.PHONY:all
all:server client

server:ServerMain.cpp
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
client:ClientMain.cpp
	g++ -o $@ $^ -std=c++14 -ljsoncpp
.PHONY:clean
clean:
	rm -rf server
	rm -rf client